package com.zch.rpc.service;


import com.zch.rpc.client.RpcFramework;
import com.zch.rpc.client.interfaces.HelloService;
import com.zch.rpc.service.serviceImpl.HelloServiceImpl;

public class RpcProvider {
    public static void main(String[] args) throws Exception {
        HelloService service =  new HelloServiceImpl();
        RpcFramework.export(service, 20881);
    }
}
